<?php
/*
 * zuan.php 37zuan入口文件
 */
define('APPTYPEID', 100);
define('CURSCRIPT', 'zuan');

require './source/class/class_core.php';
require './source/function/function_zuan.php';

$modarray = array('index', 'task', 'user');

$modcachelist = array(
);

$mod = !in_array(C::app()->var['mod'], $modarray) ? 'index' : C::app()->var['mod'];

define('CURMODULE', $mod);
$cachelist = array();
if (isset($modcachelist[CURMODULE])) {
    $cachelist = $modcachelist[CURMODULE];

    $cachelist[] = 'plugin';
    $cachelist[] = 'pluginlanguage_system';
}

C::app()->cachelist = $cachelist;
C::app()->init();

runhooks();

//变量
$tpldir = $_G['style']['tpldir'].'/zuan';

require DISCUZ_ROOT . './source/module/zuan/zuan_' . $mod . '.php';
?>